<?php
/**
 * Created by PhpStorm.
 * User: Zhoujinda
 * Date: 2016/3/31
 * Time: 9:58
 */
namespace Shop\Model;
use Think\Model;

class OrdersRefundMoneyModel extends Model{
    protected $_auto = array(
        array('create_time',NOW_TIME,self::MODEL_INSERT),
    );

    protected $_validate = array(
        array('order_code','','不能重复添加',self::EXISTS_VALIDATE,'unique',self::MODEL_INSERT),
        array('batch_no','','不能重复添加',self::EXISTS_VALIDATE,'unique',self::MODEL_INSERT),
    );
}